package Exple.sysManger.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class UserList {
    private Long id;
    private String username;
    private String password;
    private String role;
    private String image;
    private String create_date;

    public UserList(String username, String password, String role, String image, String create_date){
        this.username=username;
        this.password=password;
        this.role=role;
        this.image=image;
        this.create_date=create_date;
    }

    @Override
    public String toString() {
        return "UserList{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", role='" + role + '\'' +
                ", image='" + image + '\'' +
                ", create_date='" + create_date + '\'' +
                '}';
    }
}
